package com.cloudkinto.service.user.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhangyy
 * @date 2020/10/15 9:26
 * @description:
 */
@Data
public class SendMsgReq {

    @NotNull(message = "请选择验证方式")
    @ApiModelProperty("1：短信   2:邮箱")
    private Integer type;

    @NotBlank(message = "缺少账号")
    private String userAccount;
}
